package com.smart.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.model.customdo.PageHomeKeyValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @author: zyh
 * @date: 2023-07-02
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("云监管首页响应模型")
public class SuperviseHomePageVO implements Serializable {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("最晚更新时间")
    private Date lastDate;
    @ApiModelProperty("工程状态统计")
    private List<PageHomeKeyValue> projectStatusList;
    @ApiModelProperty("工程类型统计")
    private List<PageHomeKeyValue> projectTypeList;
    @ApiModelProperty("项目人员分布")
    private List<PageHomeKeyValue> projectPersonList;
    @ApiModelProperty("全区项目人员流动性统计")
    private Map<String, Object> projectPersonFlowMap;
    @ApiModelProperty("全区动火作业统计")
    private Map<String, Object>  projectHotWorkCountMap;
}
